﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ConvConditions.aspx.cs" Inherits="CoreData" Title="Admin ~ Conversion Conditions" %>
<%@ Register src="../Usercontrols/Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="../Usercontrols/Footer.ascx" tagname="Footer" tagprefix="uc3" %>
<%@ Register src="../Usercontrols/Menu1.ascx" tagname="Menu1" tagprefix="uc4" %>
<%@ Register src="../Usercontrols/Menu2.ascx" tagname="Menu2" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   <table cellpadding="0" cellspacing="0" width="100%">
    <tr>         
        <td align="center" >
           <table cellpadding="0" cellspacing="0" width="900px" >
             
              <tr>
                 <td align="center"  valign="top"> 
                     <uc1:Header ID="Header2" runat="server" />
                 </td>
              </tr>
               
              <tr>
                    <td align="right">
                        <uc4:Menu1 ID="Menu11" runat="server" />
                    </td>
               </tr>
                    
              <tr>
                   <td align="center" valign="top" >        
                     
                     <table cellpadding="5" cellspacing="0" width="100%" class="mainTableBkg">
                        
                        <tr valign="top" align="left">
                            <td>
                                    <table >
                                                                                              
                                               <tr valign="top" align="left" >                                    
                                                                <td> 
                                                                    <table>
                                                                            <tr>
                                                                                <td class="adminHeading " align="left">CONVERSION CONDITIONS</td>
                                                                                <td align="left"><asp:Label ID="lblMessage" CssClass="messageLabel" runat="server"></asp:Label></td>
                                                                                <td align="right" ><asp:Label ID="lblExpdetails" runat="server" CssClass="informationLabe"></asp:Label></td> 
                                                                             </tr>
                                                                    </table>
                                                                </td>
                                                 </tr>   
                                                            
                                                                                                                         
                                             <tr id="trConConditions" runat="server" >
                                                <td>
                                                    <table style="width: 922px; height: 339px;">
                                                         <tr class="ashBkg" Id="tr2" visible="false" runat="server" >
                                                            <td class='label' style="width: 126px">Conv Id</td>
                                                            <td style="height: 25px"><asp:TextBox ID="txtConvId" runat="server" cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                                         </tr> 
                                                              
                                                        <tr class="ashBkg" id="tr3" runat="server" >
                                                            <td class='label' style="width: 126px">Conversion Regime</td>
                                                            <td><asp:TextBox ID="txtConvReg" runat="server" cssclass='textBox' Width='250px' 
                                                                    MaxLength="50"></asp:TextBox></td>
                                                        </tr> 
                                            
                                                        <tr class="altanateAshBkg">
                                                            <td class='label' style="width: 126px">Reactor Configuration</td>
                                                            <td style="height: 25px">
                                                                <asp:TextBox ID="txtReactorConfig" runat="server"  
                                                                    cssclass='textBox' Width='150px' MaxLength="50"></asp:TextBox></td>
                                                        </tr> 
                                                        
                                                        <tr class="ashBkg">
                                                            <td class='label' style="width: 126px" >Bed Medium</td>
                                                            <td><asp:TextBox ID="txtBedMedium" runat="server" cssclass='textBox' Width='100px' 
                                                                    MaxLength="50"></asp:TextBox></td>
                                                        </tr>   
                                                        
                                                        <tr class="altanateAshBkg">
                                                            <td class='label' style="width: 126px" >Feed System</td>
                                                            <td style="height: 22px"> 
                                                                <asp:TextBox ID="txtFeedSystem" runat="server" 
                                                                    cssclass='textBox' Width='100px' MaxLength="50"></asp:TextBox></td>
                                                        </tr>
                                                        
                                                        <tr class="ashBkg">
                                                           <td class='label' style="width: 126px">Gas Medium</td>
                                                           <td><asp:TextBox ID="txtGasificationMedium" runat="server" 
                                                                    cssclass='textBox' Width='100px' MaxLength="50"></asp:TextBox></td>
                                                        </tr>      
                                            
                                             <tr class="altanateAshBkg">
                                                            <td class='label' style="width: 126px">Gas / Biomass</td>
                                                            <td style="height: 7px">
                                                                <asp:TextBox ID="txtGasBiomass" runat="server" 
                                                                    cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                                        </tr>
                                                                          
                                                                             
                                            <tr class="ashBkg" align="left" >
                                                            <td colspan="2" align="left" >
                                                                <table >
                                                                    <tr>
                                                                        <td class='label'>Temperature (C)</td>
                                                                        <td><asp:TextBox ID="txtTemeperature" runat="server" cssclass='textBox' Width='45px' MaxLength="100"></asp:TextBox></td>
                                                                        <td class='label' style="height: 22px">Pressure (kP) </td>
                                                                        <td style="height: 22px"> <asp:TextBox ID="txtPressure" runat="server" cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                                                        <td class='label' style="height: 22px">Sweep Gas Velocity (cm<sup>3</sup>/min) </td>
                                                                        <td style="height: 22px"> <asp:TextBox ID="txtSweptGasVelocity" runat="server" 
                                                                                cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                                                    </tr>
                                                                </table>
                                                            </td>                            
                                                        </tr>  
                                                                         
                                            
                                            <tr class="altanateAshBkg">
                                                <td colspan="2">
                                                    <table >
                                                        <tr>
                                                            <td></td>
                                                            <td class="label">Feed Rate (kg/min)</td>
                                                            <td class="label">Heat Rate (C/min)</td>
                                                            <td class="label" > Residence Time (s)</td>
                                                            
                                                        </tr> 
                                                        <tr>
                                                            <td class="label">Minimum</td>
                                                            <td><asp:TextBox ID="txtFeedRateMinimum" CssClass="textBox" runat="server" 
                                                                    Width="45px" ></asp:TextBox></td>
                                                            <td><asp:TextBox ID="txtHeatRateMinimum" CssClass="textBox" runat="server" 
                                                                    Width="45px" ></asp:TextBox></td>
                                                            <td><asp:TextBox ID="txtResidenceTimeMinimum" CssClass="textBox" runat="server" 
                                                                    Width="45px" ></asp:TextBox></td>
                                                        </tr>   
                                                        <tr>
                                                            <td class="label">Maximum</td>
                                                            <td><asp:TextBox ID="txtFeedRateMaximum" CssClass="textBox" runat="server" 
                                                                    Width="45px" ></asp:TextBox></td>
                                                            <td><asp:TextBox ID="txtHeatRateMaximum" CssClass="textBox" runat="server" 
                                                                    Width="45px" ></asp:TextBox></td>
                                                            <td><asp:TextBox ID="txtResidenceTimeMaximum" CssClass="textBox" runat="server" 
                                                                    Width="45px" ></asp:TextBox></td>
                                                        </tr>        
                                                    </table>                            
                                                </td>
                                            </tr>
                                                                  
                                            <tr align="left"  class="ashBkg">
                                                    <td colspan="2">
                                                        <table >
                                                                    <tr>
                                                                            <td>
                                                                            <asp:ImageButton ID="ImageButton1" runat="server"  ImageUrl="~/Images/btnSave.jpg" onclick="ImageButton1_Click" />
                                                                            </td>
                                                                    
                                                                             <td>
                                                                                     <asp:Button ID="btnPrevious" Text="PreviousRecord" runat="server" CssClass="button " onclick="btnPrevious_Click" />
                                                                            </td>
                                                                    </tr>
                                                        </table>                                                
                                                    </td>                                           
                                           </tr>  
                                                    
                                                    </table>                                                
                                                </td>                                            
                                            </tr>                                   
                                                            
                                             <tr id="trdgConvConditions" runat="server" >
                                              <td align="left" style="padding-left:5px;" colspan='2'>
                                             <asp:GridView AllowSorting="true" AutoGenerateEditButton="true" Width="850px" AllowPaging="true" AutoGenerateColumns="false" ID="dgConvConditions" runat="server" onrowediting="dgConvConditions_RowEditing" onrowdeleting="dgConvConditions_RowDeleting" onpageindexchanging="dgConvConditions_PageIndexChanging">
                                            <Columns>      
                                                                                   
                                                <asp:BoundField  DataField="id" HeaderText="id"  />
                                                <asp:BoundField  DataField="conv_Regime" HeaderText="Regime" />
                                                <asp:BoundField  DataField="reactorConfig" HeaderText="Reactor Config" />
                                                <asp:BoundField  DataField="bedMedium" HeaderText="Bed Medium" />
                                                <asp:BoundField  DataField="FeedSystem" HeaderText="Feed System"/>
                                                <asp:BoundField  DataField="gasificationMed" HeaderText="Gasification Method" />
                                                <asp:BoundField  DataField="gasBiomassRatio" HeaderText="Gas / Biomass" />
                                                <asp:BoundField  DataField="feedRate_min" HeaderText="Feed Rate Min" />
                                                <asp:BoundField  DataField="feedRate_max" HeaderText="Feed Rate Max" />
                                                <asp:BoundField  DataField="temp" HeaderText="Temp" />
                                                <asp:BoundField  DataField="pressure" HeaderText="Pressure" /> 
                                                <asp:BoundField  DataField="heatRate_min" HeaderText="Heat Rate Min" />
                                                <asp:BoundField  DataField="heatRate_max" HeaderText="Heat Rate Max"/>
                                                <asp:BoundField  DataField="resTime_min" HeaderText="Restime Min" />
                                                <asp:BoundField  DataField="resTime_max" HeaderText="Restime Max" />
                                                <asp:BoundField DataField="sweptGasVelocity" HeaderText="Sweep Gas Velocity" />                                                                                              
                                            </Columns>
                                            <HeaderStyle CssClass="gridHeading" />
                                            <AlternatingRowStyle CssClass="gridAltRowStyleStyle" />                                                                                        
                                            <RowStyle CssClass="gridRowStyle" />                                                                                       
                                            <PagerStyle />
                                            <EditRowStyle CssClass="gridEditRow" />                                     
                                        </asp:GridView>
                                    </td>
                             </tr>  
                             
                           
                                    </table>
                            </td>
                        </tr>               
                         
                     </table>
                     
                   </td>        
                </tr>  
                                                   
              <tr>
                        <td>    
                            <uc3:Footer ID="Footer2" runat="server" />
                        </td>
                   </tr> 
                    
             </table>
           </td> 
      </tr>
 </table> 
   </asp:Content>

